const mongoose = require('mongoose')

const schema = new mongoose.Schema({
  name: { type: String },
  year: { type: String },
  month: { type: String },
  area: { type: String },
  town: { type: String },
  vill: { type: String },
  group: { type: String },
  src:  [{
    name: { type: String },
    url: { type: String },
  }]
})

module.exports = mongoose.model('Finan', schema)